<include file="./Tpl/Home/top.html"/>
<include file="./Tpl/Home/header.html" />
<!--交易页面的子导航区-->
<include file="./Tpl/Home/user_nav.html" />

<div class="container">
<!--全站交易记录-->
<div class="trade-part trade-part-hd mt20">
  <div class="trade-hd">
        <h5><i class="icon_condition"></i>充值第二步</h5>
  </div>
  <div class="md">
	<div class="my-grid" id="order-grid">
<form id="form" name="form" method="post" action="payto.php" target="_blank">
<input type="hidden" name="title" value="{$orderno}">
<input type="hidden" name="money" value="{$goldnum}">
		<table width="1272" class="items table table-striped table-bordered table-condensed saferoom">
		<tbody>
        <tr> <td colspan="2"><img src="./Public/Home/cz/cz2.png"></td></tr>
        <tr>
          <td width="154" class="paya"><span class="STYLE2">支付人民币:</span></td>
          <td width="557" class="paya">{$goldnum}元</td>
        </tr>
        <tr>
          <td class="paya"><span class="STYLE3">订单号为</span>:</td>
          <td class="paya">{$orderno}</td>
        </tr>



		<tr>
		  <td colspan="2">请进入支付宝页面后不要进行任何的修改，或者不能即时到账，3分钟内没到账的联系财务。</td>
		  </tr>
		<tr>
            <td colspan="2"> 
            <input type="button" class="btn btn-success" value="我已经确认订单信息，进入支付宝付款" onClick="this.form.action='payto.php';this.form.submit()"></td>
        </tr>
		</tbody>
		</table>
        </form>
	</div>
    <span style="padding: 30px"></span>
      <div class="my-grid" id="order-grid" style="display:none">
          <table class="items table table-striped table-bordered table-condensed saferoom">
              <thead>
              <tr><th>订单号</th><th>金额</th><th>时间</th><th width="40%">状态</th><th width="10%">操作</th></tr>
              </thead>
              <tbody  id="czbody">
                    <volist name="list" id="vo" empty="$empty">
                        <tr><td class="chkTit">{$vo.nickname|default='无'}</td><td>{$vo.goldnum|default='0'}</td><td>{$vo.addtime|default='无'}</td><td><eq name="vo.status" value="0">正在处理<else/>已处理</eq></td></tr>
                    </volist>
              </tbody>
          </table>
          <div id="page">
          </div>
      </div>
  </div>
</div>
</div></div>
<!--尾部-->
<include file="./Tpl/Home/footer.html" />
<!-- footer -->

<div class="modal hide fade" id="modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"></div>

<script type="text/javascript">
    $(document).ready(function(){
        getczdata(1);
    });
    function czstatus(id){
        var loadi = layer.load('正在提交...…');
        $.ajax({
            type : "get",
            url : "{$path}/User/czConfirm/id/"+id,
            async : false,
            success : function(data){
                layer.close(loadi);
                if(data!=false){
                    window.location.href="{$path}/User/chongzhisuccess";
                }else{
                    layer.alert('提交失败!');
                }
            }
        });
    }

    function czapplyback(id){
        var loadi = layer.load('正在取消...…');
        $.ajax({
            type : "get",
            url : "{$path}/User/czapplyback/id/"+id,
            async : false,
            success : function(data){
                layer.close(loadi);
                if(data!=false){
                    $('#del'+id).remove();
                }else{
                    layer.alert('取消失败!');
                }
            }
        });
    }
</script>

</body></html>